<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <style>
    div{
        width:100px;
        height: 100px;
        background: red;
    
    }
    a{
        width:100px;
        height: 100px;
        background:red;
        margin-bottom: 100px;
    }
    </style>
</head>
<body>
    <!--块标签
    div,p,ul-li,dl-dd,h1-h6
特点1、独占一行2、能够设置width,height
display:inline-block-->
  <div>div</div>
  <p>p</p>
  <h1> h1</h1>  
  <!--内联标签 a ,span, i,em,strong
1、并排显示
2、不能设置width,height
3、不能设置margin-top,margin-bottom-->
  <a href="#">a</a>
  <span>span</span>
  <i>i</i>
  <em>em</em>
  <strong>strong</strong>
  <p>hello world</p>
  <!--内联块 img,input button
共占据一行，能设置宽高-->
  <input type="text">
  <button>搜索</button>
</body>
</html>